using System.Collections;
using System.Collections.Generic;
using UnityEngine;
 public enum BuffMode//nbuff的模式  可叠加和不可叠加
    {
        [Tooltip("可叠加")]
        Additive,
        [Tooltip("不可叠加")]
        Single
    }
    
    public enum EffectMode//效果的模式  可叠加和不可叠加
    {[Tooltip("可叠加")]
        Single,
        [Tooltip("不可叠加")]
        Additive
    }
public class BuffInfo 
{
   
    public class EffectInfo:ScriptableObject
    {
        
        [Tooltip("效果名称")]
        public string effect_name;
        
        [Tooltip("效果描述")]
        public EffectMode effect_mode = EffectMode.Additive;
    }
    
    [Tooltip("BUFF唯一标识")]
    public int buff_id;
    [Tooltip("BUFF名称")]
    public string name;
    [Tooltip("BUFF描述")]
    public string duration;

    public List<EffectInfo> effects = new List<EffectInfo>();
}
